package jp.tuyano.framework;
import javax.servlet.http.*;
import org.apache.struts.action.*;

public class Page1Action extends Action{
	public ActionForward excute(ActionMapping mapping,
			ActionForm form,
			HttpServletRequest request,
			HttpServletResponse response)
	throws Exception{
		Page1ActionForm page1form = (Page1ActionForm)form;
		String input = page1form.getField1();
		page1form.setText1("こんにちは、"+input+ "さん！");

		return mapping.getInputForward();
	}

}
